//
//  NGStoreNavigationView.h
//  NicoMama
//
//  Created by Deng on 2017/9/13.
//  Copyright © 2017年 NicoMama. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, NGStoreNavigationTag) {
    NGStoreNavigationTag_OnlyShareBtn = 1,
    NGStoreNavigationTag_AllNot,
};

@class YLStoreNavigationView;
@protocol NGStoreNavigationViewDelegate <NSObject>

@optional
- (void)storeNavigationView:(YLStoreNavigationView *)navigationView didClickedshareBtn:(UIButton *)button;
- (void)storeNavigationView:(YLStoreNavigationView *)navigationView didClickBackBtn:(UIButton *)button;
 

@end

@interface YLStoreNavigationView : UIView
 @property (nonatomic, assign) BOOL isHideBackBtn;
 
@property (nonatomic, assign) NGStoreNavigationTag storeNavigationTag;
@property (nonatomic, weak) id<NGStoreNavigationViewDelegate> delegate;

@property (nonatomic, copy, readonly) NSString *title;

- (void)updateTitleText:(NSString *)text;
 
@end
